package com.sparrow.common.ai.findpath;

import java.util.ArrayList;
import java.util.List;

public class GroupNode {
    private int[] parent;
    private List<int[]> neighbors = new ArrayList<>(9);

    public void setParent(int[] parent) {
        this.parent = parent;
    }

    public void setNeighbors(List<int[]> neighbors) {
        this.neighbors = neighbors;
    }

    public int[] getParent() {
        return parent;
    }

    public List<int[]> getNeighbors() {
        return neighbors;
    }
}
